package work.work80;

import java.util.Comparator;

public class MySort implements Comparator {
    @Override
    public int compare(Object o1, Object o2) {
        Puke s1 = (Puke) o1;
        Puke s2 = (Puke) o2;

        return s1.getA() - s2.getA();
    }
}
